class CreateComments < ActiveRecord::Migration
	def self.up
		create_table :comments do |t|
			t.column :post_id, :integer
			t.column :author, :string
			t.column :email, :string, :default => nil
			t.column :content, :text
			t.column :comment_on, :datetime
		end
	end

	def self.down
		drop_table :comments
	end
end
